package com.gym.code.generator.model.mapping.layer.dao;

import com.gym.code.generator.model.mapping.layer.LayerGenerateModel;
import com.gym.code.generator.utils.LocalStringUtils;

/**
 * 
 * @author xinchun.wang
 * @email: 532002108@qq.com
 * @createTime 2015-4-11 下午1:39:49
 */
public class IDaoLayerGenerateModel extends LayerGenerateModel {
	private String daoInterfaceName;


	public String getDaoInterfaceName() {
		return daoInterfaceName;
	}


	public void setDaoInterfaceName(String daoInterfaceName) {
		this.daoInterfaceName = daoInterfaceName;
	}


	@Override
	protected String getFileName() {
		return LocalStringUtils.toFirstLetterUpper(daoInterfaceName);
	}

	
	@Override
	public String getPackageName() {
		return packagePath   + ".dao";
	}
}
